﻿<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
    <!-- CSS ===================== -->
    <!-- load bootstrap -->
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
    <link rel="stylesheet" href="~/build/css/intlTelInput.css" />
    <link rel="stylesheet" href="~/build/css/demo.css">
    <style>
        body
        {
            padding-top: 30px;
        }
    </style>

    <!-- JS ===================== -->
    <!-- load angular -->
    <script src="http://code.angularjs.org/1.2.6/angular.js"></script>
    <script src="~/Scripts/register.js"></script>
    <script src="~/Scripts/EventsService.js"></script>

    <script type="text/javascript">
        function ValidatePassword() {
            var p1 = document.getElementById('password').value;
            var p2 = document.getElementById('confirm').value;

            if (p1 != p2) {
                document.getElementById('error1').innerText = 'Passwords do not match';
            }
            else {
                document.getElementById('error1').innerText = '';
            }
        }
    </script>

</head>

<!-- apply angular app and controller to our body -->
<body ng-app="validationApp" ng-controller="mainController" style="background: url('http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-3-full.jpg') repeat">
    <div class="container" style="opacity: 0.93">
        <div class="col-sm-8 col-sm-offset-2">

            <div class="panel panel-default">
                <div class="panel-heading">
                    <strong><b>R4U Registration</b></strong>
                </div>

                <div class="panel-body">
                    <fieldset>
                        <legend>Account Information:</legend>
                        <!-- FORM -->
                        <!-- pass in the variable if our form is valid or invalid -->
                        <form name="userForm" ng-submit="submitForm(user)" novalidate>
                            <!-- novalidate prevents HTML5 validation since we will be validating ourselves -->

                            <!-- NAME -->
                            <div class="form-group" ng-class="{ 'has-error' : userForm.name.$invalid && !userForm.name.$pristine }">
                                <label>Full Name:</label>
                                <input type="text" name="name" class="form-control" ng-model="user.name" ng-minlength="6" required>
                                <p ng-show="userForm.name.$error.required && !userForm.name.$pristine" class="help-block">Full name is required.</p>
                                <p ng-show="userForm.name.$error.minlength" class="help-block">Full name is too short.</p>
                            </div>

                            <!-- EMAIL -->
                            <div class="form-group" ng-class="{ 'has-error' : userForm.email.$invalid && !userForm.email.$pristine }">
                                <label>Email Address:</label>
                                <input type="email" name="email" class="form-control" ng-model="user.email" required>
                                <p ng-show="userForm.email.$invalid && !userForm.email.$pristine" class="help-block">Enter a valid email.</p>
                            </div>

                            <!-- PASSWORD -->
                            <div class="form-group" ng-class="{ 'has-error' : userForm.password.$invalid && !userForm.password.$pristine }">
                                <label>Password:</label>
                                <input type="password" id="password" name="password" class="form-control" ng-model="user.password" ng-minlength="6" required>
                                <p ng-show="userForm.password.$error.required && !userForm.password.$pristine" class="help-block">Password is required.</p>
                                <p ng-show="userForm.password.$error.minlength" class="help-block">Password is not strong.</p>
                            </div>

                            <!-- CONFIRM -->
                            <div class="form-group" ng-class="{ 'has-error' : userForm.confirm.$invalid && !userForm.confirm.$pristine }">
                                <label>Confirm Password:</label>
                                <input id="confirm" class="form-control" ng-model='user.verify' type="password" name='verify' required onkeyup="ValidatePassword()">
                                <p class="text-danger" id="error1"></p>
                            </div>

                            <!-- COMPANY -->
                            <div class="form-group" ng-class="{ 'has-error' : userForm.company.$invalid && !userForm.company.$pristine }">
                                <label>Company:</label>
                                <input type="text" name="company" class="form-control" ng-model="user.company" ng-minlength="6" required>
                                <p ng-show="userForm.company.$error.required && !userForm.company.$pristine" class="help-block">Company is required.</p>
                                <p ng-show="userForm.company.$error.minlength" class="help-block">Company name is too short.</p>
                            </div>
                            <br />
                            <br />
                            <legend>Contact Information:</legend>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.address1.$invalid && !userForm.address1.$pristine }">
                                <label>Address 1:</label>
                                <input type="text" name="address1" class="form-control" ng-model="user.address1" required>
                                <p ng-show="userForm.address1.$error.required && !userForm.address1.$pristine" class="help-block">Address 1 is required.</p>
                            </div>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.address2.$invalid && !userForm.address2.$pristine }">
                                <label>Address 2:</label>
                                <input type="text" name="address2" class="form-control" ng-model="user.address2" required>
                                <p ng-show="userForm.address2.$error.required && !userForm.address2.$pristine" class="help-block">Address 2 is required.</p>
                            </div>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.city.$invalid && !userForm.city.$pristine }">
                                <label>City:</label>
                                <input type="text" name="city" class="form-control" ng-model="user.city" required>
                                <p ng-show="userForm.city.$error.required && !userForm.city.$pristine" class="help-block">City is required.</p>
                            </div>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.State.$invalid && !userForm.State.$pristine }">
                                <label>State:</label>
                                <input type="text" name="State" class="form-control" ng-model="user.State">
                            </div>
                            <div class="form-group" ng-class="{ 'has-error' : userForm.country.$invalid && !userForm.country.$pristine }">
                                <label>Country:</label>
                                <select name="country" class="form-control" ng-model="user.country" required>
                                    <option value="AF">Afghanistan</option>
                                    <option value="AX">Åland Islands</option>
                                    <option value="AL">Albania</option>
                                    <option value="DZ">Algeria</option>
                                    <option value="AS">American Samoa</option>
                                    <option value="AD">Andorra</option>
                                    <option value="AO">Angola</option>
                                    <option value="AI">Anguilla</option>
                                    <option value="AQ">Antarctica</option>
                                    <option value="AG">Antigua and Barbuda</option>
                                    <option value="AR">Argentina</option>
                                    <option value="AM">Armenia</option>
                                    <option value="AW">Aruba</option>
                                    <option value="AU">Australia</option>
                                    <option value="AT">Austria</option>
                                    <option value="AZ">Azerbaijan</option>
                                    <option value="BS">Bahamas</option>
                                    <option value="BH">Bahrain</option>
                                    <option value="BD">Bangladesh</option>
                                    <option value="BB">Barbados</option>
                                    <option value="BY">Belarus</option>
                                    <option value="BE">Belgium</option>
                                    <option value="BZ">Belize</option>
                                    <option value="BJ">Benin</option>
                                    <option value="BM">Bermuda</option>
                                    <option value="BT">Bhutan</option>
                                    <option value="BO">Bolivia, Plurinational State of</option>
                                    <option value="BQ">Bonaire, Sint Eustatius and Saba</option>
                                    <option value="BA">Bosnia and Herzegovina</option>
                                    <option value="BW">Botswana</option>
                                    <option value="BV">Bouvet Island</option>
                                    <option value="BR">Brazil</option>
                                    <option value="IO">British Indian Ocean Territory</option>
                                    <option value="BN">Brunei Darussalam</option>
                                    <option value="BG">Bulgaria</option>
                                    <option value="BF">Burkina Faso</option>
                                    <option value="BI">Burundi</option>
                                    <option value="KH">Cambodia</option>
                                    <option value="CM">Cameroon</option>
                                    <option value="CA">Canada</option>
                                    <option value="CV">Cape Verde</option>
                                    <option value="KY">Cayman Islands</option>
                                    <option value="CF">Central African Republic</option>
                                    <option value="TD">Chad</option>
                                    <option value="CL">Chile</option>
                                    <option value="CN">China</option>
                                    <option value="CX">Christmas Island</option>
                                    <option value="CC">Cocos (Keeling) Islands</option>
                                    <option value="CO">Colombia</option>
                                    <option value="KM">Comoros</option>
                                    <option value="CG">Congo</option>
                                    <option value="CD">Congo, the Democratic Republic of the</option>
                                    <option value="CK">Cook Islands</option>
                                    <option value="CR">Costa Rica</option>
                                    <option value="CI">Côte d'Ivoire</option>
                                    <option value="HR">Croatia</option>
                                    <option value="CU">Cuba</option>
                                    <option value="CW">Curaçao</option>
                                    <option value="CY">Cyprus</option>
                                    <option value="CZ">Czech Republic</option>
                                    <option value="DK">Denmark</option>
                                    <option value="DJ">Djibouti</option>
                                    <option value="DM">Dominica</option>
                                    <option value="DO">Dominican Republic</option>
                                    <option value="EC">Ecuador</option>
                                    <option value="EG">Egypt</option>
                                    <option value="SV">El Salvador</option>
                                    <option value="GQ">Equatorial Guinea</option>
                                    <option value="ER">Eritrea</option>
                                    <option value="EE">Estonia</option>
                                    <option value="ET">Ethiopia</option>
                                    <option value="FK">Falkland Islands (Malvinas)</option>
                                    <option value="FO">Faroe Islands</option>
                                    <option value="FJ">Fiji</option>
                                    <option value="FI">Finland</option>
                                    <option value="FR">France</option>
                                    <option value="GF">French Guiana</option>
                                    <option value="PF">French Polynesia</option>
                                    <option value="TF">French Southern Territories</option>
                                    <option value="GA">Gabon</option>
                                    <option value="GM">Gambia</option>
                                    <option value="GE">Georgia</option>
                                    <option value="DE">Germany</option>
                                    <option value="GH">Ghana</option>
                                    <option value="GI">Gibraltar</option>
                                    <option value="GR">Greece</option>
                                    <option value="GL">Greenland</option>
                                    <option value="GD">Grenada</option>
                                    <option value="GP">Guadeloupe</option>
                                    <option value="GU">Guam</option>
                                    <option value="GT">Guatemala</option>
                                    <option value="GG">Guernsey</option>
                                    <option value="GN">Guinea</option>
                                    <option value="GW">Guinea-Bissau</option>
                                    <option value="GY">Guyana</option>
                                    <option value="HT">Haiti</option>
                                    <option value="HM">Heard Island and McDonald Islands</option>
                                    <option value="VA">Holy See (Vatican City State)</option>
                                    <option value="HN">Honduras</option>
                                    <option value="HK">Hong Kong</option>
                                    <option value="HU">Hungary</option>
                                    <option value="IS">Iceland</option>
                                    <option value="IN">India</option>
                                    <option value="ID">Indonesia</option>
                                    <option value="IR">Iran, Islamic Republic of</option>
                                    <option value="IQ">Iraq</option>
                                    <option value="IE">Ireland</option>
                                    <option value="IM">Isle of Man</option>
                                    <option value="IL">Israel</option>
                                    <option value="IT">Italy</option>
                                    <option value="JM">Jamaica</option>
                                    <option value="JP">Japan</option>
                                    <option value="JE">Jersey</option>
                                    <option value="JO">Jordan</option>
                                    <option value="KZ">Kazakhstan</option>
                                    <option value="KE">Kenya</option>
                                    <option value="KI">Kiribati</option>
                                    <option value="KP">Korea, Democratic People's Republic of</option>
                                    <option value="KR">Korea, Republic of</option>
                                    <option value="KW">Kuwait</option>
                                    <option value="KG">Kyrgyzstan</option>
                                    <option value="LA">Lao People's Democratic Republic</option>
                                    <option value="LV">Latvia</option>
                                    <option value="LB">Lebanon</option>
                                    <option value="LS">Lesotho</option>
                                    <option value="LR">Liberia</option>
                                    <option value="LY">Libya</option>
                                    <option value="LI">Liechtenstein</option>
                                    <option value="LT">Lithuania</option>
                                    <option value="LU">Luxembourg</option>
                                    <option value="MO">Macao</option>
                                    <option value="MK">Macedonia, the former Yugoslav Republic of</option>
                                    <option value="MG">Madagascar</option>
                                    <option value="MW">Malawi</option>
                                    <option value="MY">Malaysia</option>
                                    <option value="MV">Maldives</option>
                                    <option value="ML">Mali</option>
                                    <option value="MT">Malta</option>
                                    <option value="MH">Marshall Islands</option>
                                    <option value="MQ">Martinique</option>
                                    <option value="MR">Mauritania</option>
                                    <option value="MU">Mauritius</option>
                                    <option value="YT">Mayotte</option>
                                    <option value="MX">Mexico</option>
                                    <option value="FM">Micronesia, Federated States of</option>
                                    <option value="MD">Moldova, Republic of</option>
                                    <option value="MC">Monaco</option>
                                    <option value="MN">Mongolia</option>
                                    <option value="ME">Montenegro</option>
                                    <option value="MS">Montserrat</option>
                                    <option value="MA">Morocco</option>
                                    <option value="MZ">Mozambique</option>
                                    <option value="MM">Myanmar</option>
                                    <option value="NA">Namibia</option>
                                    <option value="NR">Nauru</option>
                                    <option value="NP">Nepal</option>
                                    <option value="NL">Netherlands</option>
                                    <option value="NC">New Caledonia</option>
                                    <option value="NZ">New Zealand</option>
                                    <option value="NI">Nicaragua</option>
                                    <option value="NE">Niger</option>
                                    <option value="NG">Nigeria</option>
                                    <option value="NU">Niue</option>
                                    <option value="NF">Norfolk Island</option>
                                    <option value="MP">Northern Mariana Islands</option>
                                    <option value="NO">Norway</option>
                                    <option value="OM">Oman</option>
                                    <option value="PK">Pakistan</option>
                                    <option value="PW">Palau</option>
                                    <option value="PS">Palestinian Territory, Occupied</option>
                                    <option value="PA">Panama</option>
                                    <option value="PG">Papua New Guinea</option>
                                    <option value="PY">Paraguay</option>
                                    <option value="PE">Peru</option>
                                    <option value="PH">Philippines</option>
                                    <option value="PN">Pitcairn</option>
                                    <option value="PL">Poland</option>
                                    <option value="PT">Portugal</option>
                                    <option value="PR">Puerto Rico</option>
                                    <option value="QA">Qatar</option>
                                    <option value="RE">Réunion</option>
                                    <option value="RO">Romania</option>
                                    <option value="RU">Russian Federation</option>
                                    <option value="RW">Rwanda</option>
                                    <option value="BL">Saint Barthélemy</option>
                                    <option value="SH">Saint Helena, Ascension and Tristan da Cunha</option>
                                    <option value="KN">Saint Kitts and Nevis</option>
                                    <option value="LC">Saint Lucia</option>
                                    <option value="MF">Saint Martin (French part)</option>
                                    <option value="PM">Saint Pierre and Miquelon</option>
                                    <option value="VC">Saint Vincent and the Grenadines</option>
                                    <option value="WS">Samoa</option>
                                    <option value="SM">San Marino</option>
                                    <option value="ST">Sao Tome and Principe</option>
                                    <option value="SA">Saudi Arabia</option>
                                    <option value="SN">Senegal</option>
                                    <option value="RS">Serbia</option>
                                    <option value="SC">Seychelles</option>
                                    <option value="SL">Sierra Leone</option>
                                    <option value="SG">Singapore</option>
                                    <option value="SX">Sint Maarten (Dutch part)</option>
                                    <option value="SK">Slovakia</option>
                                    <option value="SI">Slovenia</option>
                                    <option value="SB">Solomon Islands</option>
                                    <option value="SO">Somalia</option>
                                    <option value="ZA">South Africa</option>
                                    <option value="GS">South Georgia and the South Sandwich Islands</option>
                                    <option value="SS">South Sudan</option>
                                    <option value="ES">Spain</option>
                                    <option value="LK">Sri Lanka</option>
                                    <option value="SD">Sudan</option>
                                    <option value="SR">Suriname</option>
                                    <option value="SJ">Svalbard and Jan Mayen</option>
                                    <option value="SZ">Swaziland</option>
                                    <option value="SE">Sweden</option>
                                    <option value="CH">Switzerland</option>
                                    <option value="SY">Syrian Arab Republic</option>
                                    <option value="TW">Taiwan, Province of China</option>
                                    <option value="TJ">Tajikistan</option>
                                    <option value="TZ">Tanzania, United Republic of</option>
                                    <option value="TH">Thailand</option>
                                    <option value="TL">Timor-Leste</option>
                                    <option value="TG">Togo</option>
                                    <option value="TK">Tokelau</option>
                                    <option value="TO">Tonga</option>
                                    <option value="TT">Trinidad and Tobago</option>
                                    <option value="TN">Tunisia</option>
                                    <option value="TR">Turkey</option>
                                    <option value="TM">Turkmenistan</option>
                                    <option value="TC">Turks and Caicos Islands</option>
                                    <option value="TV">Tuvalu</option>
                                    <option value="UG">Uganda</option>
                                    <option value="UA">Ukraine</option>
                                    <option value="AE">United Arab Emirates</option>
                                    <option value="GB">United Kingdom</option>
                                    <option value="US">United States</option>
                                    <option value="UM">United States Minor Outlying Islands</option>
                                    <option value="UY">Uruguay</option>
                                    <option value="UZ">Uzbekistan</option>
                                    <option value="VU">Vanuatu</option>
                                    <option value="VE">Venezuela, Bolivarian Republic of</option>
                                    <option value="VN">Viet Nam</option>
                                    <option value="VG">Virgin Islands, British</option>
                                    <option value="VI">Virgin Islands, U.S.</option>
                                    <option value="WF">Wallis and Futuna</option>
                                    <option value="EH">Western Sahara</option>
                                    <option value="YE">Yemen</option>
                                    <option value="ZM">Zambia</option>
                                    <option value="ZW">Zimbabwe</option>
                                </select>
                                <p ng-show="userForm.country.$error.required && !userForm.country.$pristine" class="help-block">Country is required.</p>
                            </div>


                            <div class="form-group" ng-class="{ 'has-error' : userForm.postalcode.$invalid && !userForm.postalcode.$pristine }">
                                <label>Postal Code:</label>
                                <input type="number" min="0" max="100000" name="postalcode" class="form-control" ng-model="user.postalcode" required>
                                <p ng-show="userForm.postalcode.$error.required && !userForm.postalcode.$pristine" class="help-block">Not valid postal code.</p>
                            </div>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.phone.$invalid && !userForm.phone.$pristine }">
                                <label>Telephone Number:</label><br />
                                <input id="mobile-number" type="text" name="phone" class="form-control" ng-model="user.phone" required>
                                <p ng-show="userForm.phone.$error.required && !userForm.phone.$pristine" class="help-block">Phone is required.</p>
                            </div>
                            <br />
                            <br />
                            <legend>Notifications</legend>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.alert1.$invalid && !userForm.alert1.$pristine }">
                                <label>Receive notifications by email:</label>
                                <input type="checkbox" name="alert1" ng-model="user.alert1" ng-true-value="Y" ng-false-value="N">
                            </div>

                            <div class="form-group" ng-class="{ 'has-error' : userForm.alert2.$invalid && !userForm.alert2.$pristine }">
                                <label>Receive notifications  by  sms: </label>
                                <input type="checkbox" name="alert2" ng-model="user.alert2" ng-true-value="Y" ng-false-value="N">
                            </div>
                            <br />
                            <br />
                            <legend>License Agreement</legend>
                            <textarea class="form-control" rows="10" id="comment">
This Software License is made by R4U, address of R4U, to the Customer as an essential element of the services to be rendered by R4U as defined in the system specification and any associated documents and agreement. System shall mean the deliverable product as defined in these documents.

Customer and (R4U) agree that this Software License is deemed to be part of, and subject to, the terms of the Agreement applicable to both parties.

SECTION 1	LICENSE GRANT AND OWNERSHIP

1.1	(R4U) hereby grants to Customer a worldwide, perpetual, non-exclusive, non-transferable license to all software for Customer’s use in connection with the establishment, use, maintenance and modification of the system implemented by (R4U). Software shall mean executable object code of software programs and the patches, scripts, modifications, enhancements, designs, concepts or other materials that constitute the software programs necessary for the proper function and operation of the system as delivered by the (R4U) and accepted by the Customer.
1.2	Except as expressly set forth in this paragraph, (R4U) shall at all times own all intellectual property rights in the software. Any and all licenses, product warranties or service contracts provided by third parties in connection with any software, hardware or other software or services provided in the system shall be delivered to Customer for the sole benefit of Customer.
1.3	Customer may supply to (R4U) or allow the (R4U) to use certain proprietary information, including service marks, logos, graphics, software, documents and business information and plans that have been authored or pre-owned by Customer. All such intellectual property shall remain the exclusive property of Customer and shall not be used by (R4U) for any purposes other than those associated with delivery of the system.

SECTION 2	COPIES, MODIFICATION, AND USE

2.1	Customer may make copies of the software for archival purposes and as required for modifications to the system. All copies and distribution of the software shall remain within the direct control of Customer and its representatives.
2.2	Customer may make modifications to the source code version of the software, if and only if the results of all such modifications are applied solely to the system. In no way does this Software License confer any right in Customer to license, sublicense, sell, or otherwise authorize the use of the software, whether in executable form, source code or otherwise, by any third parties, except in connection with the use of the system as part of Customer’s business.
2.3	All express or implied warranties relating to the software shall be deemed null and void in case of any modification to the software made by any party other than (R4U).

SECTION 3	WARRANTIES AND REPRESENTATIONS

(R4U) represents and warrants to Customer that:

3.1	it has all necessary rights and authority to execute and deliver this Software License and perform its obligations hereunder and to grant the rights granted under this Software License to Customer; 
3.2	the goods and services provided by contractor under this Software License, including the software and all intellectual property provided hereunder, are original to (R4U) or its subcontractors or partners; and
3.3	the software, as delivered as part of the system, will not infringe or otherwise violate the rights of any third party, or violate any applicable law, rule or regulation.
3.4	(R4U) further represents and warrants that, throughout the System Warranty Period, the executable object code of software and the system will perform substantially in accordance with the System Specifications and Agreement. If the software fails to perform as specified and accepted all remedies are pursuant to the policies set forth in the Specification and in the Agreement. No warranty of any type or nature is provided for the source code version of the software which is delivered as is.
3.5	Except as expressly stated in this Agreement, there are no warranties, express or implied, including, but not limited to, the implied warranties of fitness for a particular purpose, of merchantability, or warranty of no infringement of third party intellectual property rights.

SECTION 4	INDEMNIFICATION

4.1	(R4U) hereby indemnifies and shall defend and hold harmless Customer, its parent companies and its and their subsidiaries, affiliates, officers, directors, employees, agents and subcontractors from and against all liability, damages, loss, cost or expense, including but not limited to reasonable attorneys’ fees and expenses, arising out of or in connection with any breach or alleged breach of the Agreement or any third party claims that the software or system here provided by (R4U) infringes or otherwise violates any rights of any such third party.
4.2	Customer hereby indemnifies and shall defend and hold harmless (R4U), its and their subsidiaries, affiliates, officers, directors, employees, agents and subcontractors from and against all liability, damages, loss, cost or expense, including but not limited to reasonable attorneys’ fees and expenses, arising out of or in connection with any third party claims that Customer’s use of the software in contravention of the grant of rights infringes or otherwise violates any rights of any such third party.
4.3	Upon the assertion of any claim or the commencement of any suit or proceeding against an indemnitee by any third party that may give rise to liability of an indemnitor hereunder, the indemnitee shall promptly notify the indemnitor of the existence of such a claim and shall give the indemnitor reasonable opportunity to defend and to settle the claim at its own expense and with counsel of its own selection. The indemnitee shall cooperate with the indemnitor, shall at all times have the right full to participate in such a defense at its own expense and shall not be obligated, against its consent, to participate in any settlement which it reasonably believes would have an adverse effect on its business.

SECTION 5	TRANSFER AND TERMINATION

This license will automatically terminate upon the disassembly of the system cited above, unless the system is reassembled in its original configuration in another location.

(R4U) may terminate this license upon notice for failure to comply with any of terms set forth in this Software License. Upon termination, Customer is obligated to immediately destroy the software, including all copies and modifications.

As Customer’s duly authorized representative, I have read and agree to this License.

Customer	

Printed name of signatory	

Signature	 	Date 	

Rev4. Sept 2003

Disclaimer: ICIA® provides this Sample Software License Agreement for illustration purposes only and makes no warranty, express or implied, including the warranties of merchantability and fitness for a particular purpose, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, or represents that its use would not infringe privately owned rights.
                            </textarea>
                            By registerring you will accept the license agreement.

                            <br />

                            <!-- SUBMIT BUTTON -->
                            <p style="text-align:right">
                            <button type="submit" class="btn btn-primary" ng-disabled="userForm.$invalid">Register</button>
                                </p>
                        </form>
                    </fieldset>

                </div>
            </div>
        </div>
        <!-- col-sm-8 -->
    </div>
    <!-- /container -->
    <!-- Load jQuery from CDN so can run demo immediately -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="~/build/js/intlTelInput.js"></script>
    <script>
        $("#mobile-number").intlTelInput({
            //autoFormat: false,
            //autoHideDialCode: false,
            //defaultCountry: "jp",
            //nationalMode: true,
            //numberType: "MOBILE",
            //onlyCountries: ['us', 'gb', 'ch', 'ca', 'do'],
            //preferredCountries: ['cn', 'jp'],
            //responsiveDropdown: true,
            utilsScript: "~/lib/libphonenumber/build/utils.js"
        });
    </script>
</body>
</html>
